﻿@using Fierce.MvcExtend.Controls.Manage
@model Fierce.Entity.Basic.BasicRole

<form id="dform" method="post" class="document-form-example">
    <div class="document-row">
        <label class="document-label">角色名称</label>
        <input name="Name" class="easyui-textbox" data-options="required:true" value="@Model.Name" />
        <span class="document-info">角色是用户获得权限的唯一途径。</span>
    </div>
    <div class="document-row">
        <div class="easyui-radio">
            <label class="document-label document-label-radio">是否启用</label>
            @Easyui.RadioItem("IsEnabled", "True", "启用", Model.IsEnabled.ToString())
            @Easyui.RadioItem("IsEnabled", "False", "禁用", Model.IsEnabled.ToString())
        </div>
    </div>
    <div class="document-row document-zero-bottom">
        <label class="document-label">描述信息</label>
        <input name="Remark" class="easyui-textbox" data-options="multiline:true,height:80" value="@Model.Remark" />
    </div>
    <input type="hidden" name="ID" value="@Model.ID" />
    <input type="hidden" name="Sequence" value="@Model.Sequence" />
    <input type="hidden" name="InsertTime" value="@Model.InsertTime" />
</form>